package com.dawan.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//不写或未指定默认指扫描当前启动类所在的包里的对象
@ComponentScan
public class SpringbootApplication extends SpringBootServletInitializer{



	public static void main(String[] args) {
		SpringApplication.run(SpringbootApplication.class, args);
	}
}
